package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

//import javax.validation.constraints.NotEmpty;
@Data
@NoArgsConstructor
@ApiModel(description = " sale_overview_base_data ")
public class SaleOverviewBaseData extends BaseEntity{
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")
    private Long id;

    @ApiModelProperty(notes = "销售日期")
    private Date saleDate;

    // @NotEmpty(message = "销售额") 
    @ApiModelProperty(notes = "销售额")
    private BigDecimal saleTotalAmount;

    // @NotEmpty(message = "订单数") 
    @ApiModelProperty(notes = "订单数")
    private Integer totalOrderQuantity;

    // @NotEmpty(message = "商品数量") 
    @ApiModelProperty(notes = "商品数量")
    private Integer totalProductQuantity;

    // @NotEmpty(message = "折扣率") 
    @ApiModelProperty(notes = "折扣率")
    private BigDecimal discountRate;

    // @NotEmpty(message = "客单价") 
    @ApiModelProperty(notes = "客单价")
    private BigDecimal customersUnitPrice;

    // @NotEmpty(message = "笔件数") 
    @ApiModelProperty(notes = "笔件数")
    private Integer orderUnitNumber;

    // @NotEmpty(message = "平台名称") 
    @ApiModelProperty(notes = "平台名称")
    private String platformName;

    // @NotEmpty(message = "平台code") 
    @ApiModelProperty(notes = "平台code")
    private String platformCode;

    // @NotEmpty(message = "通道code") 
    @ApiModelProperty(notes = "通道code")
    private String chnennelCode;

    // @NotEmpty(message = "店铺名称") 
    @ApiModelProperty(notes = "店铺名称")
    private String storeName;

    // @NotEmpty(message = "店铺code") 
    @ApiModelProperty(notes = "店铺code")
    private String storeCode;

    // @NotEmpty(message = "商家名称") 
    @ApiModelProperty(notes = "商家名称")
    private String merchantName;

    // @NotEmpty(message = "商家编码") 
    @ApiModelProperty(notes = "商家编码")
    private String merchantNumber;

    private Date saleDateStart;

    private Date saleDateEnd;
}
